import Table from '../components/table'
import Page from '../components/page'
import ScrollView from '../components/scroll-view'
import Modal from '../components/modal'
import Button from '../components/button'
import Card from '../components/card'
import Empty from '../components/empty'

import Auth from './directives/auth'

const Components = {
  install (Vue) {
    Vue.use(Table)
    Vue.use(Page)
    Vue.use(ScrollView)
    Vue.use(Modal)
    Vue.use(Button)
    Vue.use(Card)
    Vue.use(Empty)

    Vue.use(Auth)
  }
}

export default Components
